﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace LogModel
{
    [DataContract]
    public class ExceptionType
    {
        [DataMember]
        public int id { get; set; }

        [DataMember]
        public string className { get; set; }

        [DataMember]
        public string category { get; set; }

        [DataMember]
        public DateTime creatTime { get; set; }

        [DataMember]
        public string criticality { get; set; }

        [DataMember]
        public string remark { get; set; }

        public ExceptionType()
        {
            id = 1;
            creatTime = DateTime.Now;
        }
    }
}
